﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="joinbox.ascx.cs"  Inherits="BookClubIt.UserControls.joinbox" %>

<div class="join-box" id="divJoin" runat="server">
<asp:Label ID="lblMemberOrNot" runat="server" Text="You are a member of this club" Visible="false" />
<asp:button ID="btnLeaveClub" Visible="false" runat="server"  Text="Leave club" CssClass="btn btn-large btn-danger" OnClick="btnLeaveClub_Click"></asp:button>
<a class="btn btn-info" style="display:none;" href="join.aspx?id=<%=Request.QueryString["id"]%>">Pending Join</a>
<asp:button ID="btnJoin" runat="server"  Text="Join club" CssClass="btn btn-large btn-success" OnClick="btnJoin_Click"></asp:button>
</div>
